package com.example.chat.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.chat.beans.Banner;
import org.apache.ibatis.annotations.Param;


public interface BannerMapper extends BaseMapper<Banner> {

    IPage<Banner> getBannerList(Page<Banner> pages, @Param("title") String title,  @Param("type") Integer type);
}
